package com.t168.appinfo.service.reception.Dictionary.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.t168.appinfo.dao.reception.Dictionary.DictionaryMapper;
import com.t168.appinfo.entity.Dictionary;
import com.t168.appinfo.service.reception.Dictionary.DictionaryService;

@Service("dictionaryService")
public class DictionaryServiceImpl implements DictionaryService {

	@Resource(name = "dictionaryMapper")
	private DictionaryMapper dictionaryMapper;
	
	public DictionaryMapper getDictionaryMapper() {
		return dictionaryMapper;
	}

	public void setDictionaryMapper(DictionaryMapper dictionaryMapper) {
		this.dictionaryMapper = dictionaryMapper;
	}

	@Override
	public List<Dictionary> getFlatFrom() {
		return dictionaryMapper.getFlatFrom();
	}

	@Override
	public List<Dictionary> getStatus() {
		// TODO Auto-generated method stub
		return dictionaryMapper.getStatus();
	}

}
